<div class="entity popover {$entity->class}" id="{$entity->id}" style="{$entity->style}" data-status="{$entity->class}">
  <!-- .btn-minimize -->
  <a href="#" class="btn-minimize" title="Minimize / Restore"><i class="icon-minus"></i></a>

  <!-- End Point -->
  <div class="ep"></div>

  <h3 class="popover-title">
    <ul class="nav nav-pills">
      <li class="dropdown">
        <a class="dropdown-toggle" role="button" data-toggle="dropdown" href="#">{$entity->singular|capitalize} <b class="caret"></b></a>
        <ul class="dropdown-menu" role="menu">
          <li><a data-toggle="modal" data-target="#entities_generate_crud" href="entities/generate_crud/{$entity->id}/">Generate CRUD</a></li>
          <li><a data-toggle="modal" data-target="#entities_edit" href="entities/edit/{$entity->id}/">Edit Entity</a></li>
          <li><a href="entities/edit_custom_model/{$entity->id}/">Edit Custom Model</a></li>
          <li><a data-toggle="modal" data-target="#actions_create" href="actions/create/{$entity->id}/">Create Method</a></li>
          <li><a data-toggle="modal" data-target="#views_create" href="views/create/{$entity->id}/">Create View</a></li>
          <li class="divider"></li>
          <li><a href="entities/delete/{$entity->id}/">Delete Entity</a></li>
        </ul>
      </li>
    </ul>
    <!-- actions -->
    
  </h3>

  <div class="popover-content">

    <p>Loading contents...</p>

  </div>
  <!-- .popover-content -->

</div>
<!-- entity -->